<?php /* Smarty version 2.6.18, created on 2016-12-12 22:57:01
         compiled from informstyle/informstyle.style.list.tpl.php */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.header.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.left.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form action="" method="">	
                <div class="box-header with-border">
                    <a href="index.php?a=informstyle.informstylelist" class="btn btn-primary btn-sm">标题设置</a>
                    <!--<a href="" class="btn btn-default btn-sm">正文设置</a>-->
                    <a href="index.php?a=informstyle.noticesetlist" class="btn btn-default btn-sm">审批设置</a>
                    <a href="index.php?a=informstyle.InformStyleAdd" class="btn btn-success btn-sm" style="float:right;">自定义</a>
                </div>
                   <div class="box-body"> 
                     <table class="table table-striped table-bordered"  id="mytable">
                               <thead>
                                    <tr style="background-color:#fcba4b;">
                                        <td>格式名称</td>
                                        <td>字体</td>
										<td>字号</td>
										<td>加粗</td>
                                        <td>斜体</td>
                                        <td>颜色</td>
										<td>默认</td>
										<td width="150">操作</td>
                                    </tr>
                                 </thead>
									<?php $_from = $this->_tpl_vars['style_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
                                    <tr>
									    <td><?php echo $this->_tpl_vars['value']['style_name']; ?>
</td>
                                        <td><?php echo $this->_tpl_vars['value']['style_typeface']; ?>
</td>
										<td><?php echo $this->_tpl_vars['value']['style_number']; ?>
</td>
										<td><?php echo $this->_tpl_vars['value']['style_overstriking']; ?>
</td>
                                        <td><?php echo $this->_tpl_vars['value']['style_italic']; ?>
</td>
                                        <td><?php if ($this->_tpl_vars['value']['style_color'] == 'red'): ?>红色<?php elseif ($this->_tpl_vars['value']['style_color'] == 'green'): ?>绿色<?php else: ?>黑色<?php endif; ?></td>
										<td><?php if ($this->_tpl_vars['value']['style_mo'] == 1): ?><span class="glyphicon glyphicon-ok"></span><?php endif; ?></td>
										<td>
										<a href="index.php?a=informstyle.InformStyleUpdate&style_id=<?php echo $this->_tpl_vars['value']['style_id']; ?>
" class="btn btn-warning btn-sm" title="修改"> <i class="fa fa-edit (alias)"></i> </a>
										<a href="index.php?a=informstyle.InformStyleDel&style_id=<?php echo $this->_tpl_vars['value']['style_id']; ?>
" class="btn btn-danger btn-sm" onclick="if(confirm('警告！确认删除信息?')==false)return false;" title="删除"> <i class="fa fa-trash"></i></a>
										</td>
                                    </tr>	
									<?php endforeach; endif; unset($_from); ?>
                                     	
                       </table>   
				   </div><!--box-body -->
               </form>
           </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>